<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单进阶-复选框</title>
</head>
<body>
    <h1>表单进阶-复选框</h1>
    <div>你的兴趣爱好</div>
    <input type="checkbox" name="aihao" id="eat" checked><label for="eat">吃饭</label>
    <input type="checkbox" name="aihao" id="shuijiao"><label for="shuijiao">睡觉</label>
    <input type="checkbox" name="aihao" id="yundong" checked><label for="yundong">运动</label>
</body>
</html>